package com.zhouxiaoge.继承;

/**
 * @author 周明阳
 * mail:gqzmy@outlook.com
 * 时间:2018-04-12 15:32
 */

public class _Main {
    public static void main(String[] args) {
//        A a = new A();
//        B b = (B) a;
//        System.out.println(b.toString());
        B b1 = new B();
        A a1 = b1;
        a1.method();
        a1.smethod();


    }
}
